package cn.singno.bob.solr.test.entity;

import java.io.Serializable;

import org.apache.solr.client.solrj.beans.Field;

public class User implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 789949316468063875L;
	@Field("id")
	private String id;
	@Field("name")
	private String name;
	@Field("age")
	private String age;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + "]";
	}
	
	
}
